package bud.taskmanager.model;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class JobDetail {

	String name;
	JobBuild[] builds;
	JobBuild lastBuild;
	JobBuild lastCompletedBuild;
	JobBuild lastFailedBuild;
	JobBuild lastStableBuild;
	JobBuild lastSuccessfulBuild;

	public JobBuild[] getBuilds() {
		return builds;
	}

	public void setBuilds(JobBuild[] builds) {
		this.builds = builds;
	}

	public JobBuild getLastBuild() {
		return lastBuild;
	}

	public void setLastBuild(JobBuild lastBuild) {
		this.lastBuild = lastBuild;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public JobBuild getLastCompletedBuild() {
		return lastCompletedBuild;
	}

	public void setLastCompletedBuild(JobBuild lastCompletedBuild) {
		this.lastCompletedBuild = lastCompletedBuild;
	}

	public JobBuild getLastFailedBuild() {
		return lastFailedBuild;
	}

	public void setLastFailedBuild(JobBuild lastFailedBuild) {
		this.lastFailedBuild = lastFailedBuild;
	}

	public JobBuild getLastStableBuild() {
		return lastStableBuild;
	}

	public void setLastStableBuild(JobBuild lastStableBuild) {
		this.lastStableBuild = lastStableBuild;
	}

	public JobBuild getLastSuccessfulBuild() {
		return lastSuccessfulBuild;
	}

	public void setLastSuccessfulBuild(JobBuild lastSuccessfulBuild) {
		this.lastSuccessfulBuild = lastSuccessfulBuild;
	}

}
